package com.dz51.core.security;

public enum BlowfishManager {

	ACCOUNT_BIND_BLOWFISH("lagou_bind_cobra_blowfish_key_!@#$20140607"),

	RESET_PASSWORD_BLOWFISH("lagou_reset_cobra_blowfish_key_!@#$20140619"),

	ORDER_POSITION_BLOWFISH("lagou_order_position_blowfish_key_!@#$20140623");

	private BlowfishManager(String secret) {
		this.secret = secret;
		this.blowfish = new Blowfish(secret);
	}

	private Blowfish blowfish;

	private String secret;

	public String getSecret() {
		return secret;
	}

	public Blowfish getBlowfish() {
		return blowfish;
	}
}